$(function() {
	$("#loginOut").click(function() {
		if (confirm("确定要退出系统吗？")) {
			window.parent.location.href = $("#baseUrl").attr("href")+'sys_logout';
		}
	})
});function timeClock() {var now, n, y, r, h, m, s;now = new Date();n = now.getFullYear();y = now.getMonth() + 1;r = now.getDate();h = now.getHours();m = now.getMinutes();s = now.getSeconds();if (y<10)y = "0" + y;if (r < 10)r = "0" + r;if (h < 10)h = "0" + h;if (m < 10)m = "0" + m;if (s < 10)s = "0" + s;$("#clock").html(n + "年" + y + "月" + r + "日" + h + ":" + m + ":" + s);setTimeout("timeClock();", 1000);}
timeClock();